home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / AMOSList / AMOSLIST.0997 / 000329_amos-request@svcs1.digex.net_Sat Sep 27 14:16:51 1997.msg < prev    next >
Text File  |  1997-10-01  |  3KB  |  70 lines

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail4.access.digex.net (8.8.5/8.8.5) with ESMTP id OAA14500
  3.     for <mcox@access.digex.net>; Sat, 27 Sep 1997 14:16:49 -0400 (EDT)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id NAA13700
  6.     for amos-out; Sat, 27 Sep 1997 13:01:23 -0400 (EDT)
  7. Received: from mail2.access.digex.net (mail2.access.digex.net [205.197.247.3])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id NAA13697
  9.     for <amos-list@svcs1.digex.net>; Sat, 27 Sep 1997 13:01:22 -0400 (EDT)
  10. Received: from mail.redrose.net (qmailr@mail.redrose.net [204.249.184.22])
  11.     by mail2.access.digex.net (8.8.5/8.8.5) with SMTP id NAA28495
  12.     for <amos-list@access.digex.net>; Sat, 27 Sep 1997 13:01:21 -0400 (EDT)
  13. Received: (qmail 31724 invoked from network); 27 Sep 1997 17:01:06 -0000
  14. Received: from lp3-19.redrose.net (HELO redrose.net) (mushy-pd@205.246.86.211)
  15.   by mail.redrose.net with SMTP; 27 Sep 1997 17:01:06 -0000
  16. From: Mush <mushypd@redrose.net>
  17. Reply-To: mushypd@redrose.net
  18. To: Jamie Bentley <sniper@technet2000.com.au>
  19. CC: amos-list@access.digex.net
  20. Date: Sat, 27 Sep 1997 12:38:14 +0500
  21. Message-ID: <yam7209.703.4590096@mail.redrose.net>
  22. In-Reply-To: <yam7209.1523.272034320@marvin.technet2000.com.au>
  23. X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
  24. Organization: Mushroom PD - AMOS Public Domain Library
  25. Subject: Re: Palette swapping, changing...
  26. MIME-Version: 1.0
  27. Content-Type: text/plain
  28. Status: O
  29. X-Status: 
  30.  
  31. The man most directly responsible for this twaddle was Jamie Bentley, who did
  32. thus comment on Palette swapping, changing... on the night of 27-Sep-97:
  33. ->  Hi guys,
  34.  
  35. ->  I'm trying to work out how to use palette organising, like in Mk2 and any
  36. -> beat em up.
  37.  
  38. ->  Each character uses 16 cols, but I need it so they can take up wither the
  39. -> first 16, or the next 16 cols, even if they aren't actually MADE in that
  40. -> palette (so character 1 uses the first 16 colours and the next characters
  41. uses
  42. -> the next 16, but they were both drawn using a  different palette).
  43.  
  44. ->  HOW THE HELL DO I DO THIS?
  45.  
  46. This is extremely simple to do when you come to think about it. You will need
  47. to
  48. make a "Remapping" routine which scans the RGB colour of the true sprite, and
  49. will re-draw to the screen the nearest equivalent in the qctual palette.
  50.  
  51. You would paste the sprite on one screen, and use FPoint to get its colour
  52. value, and on the new screen with the new palette, you would plot in exactly
  53. the
  54. same place, with the equivalentt colour, then GET BOB to read it into the temp
  55. space for the characters.
  56.  
  57. Providing you dont have masses of sprites, or ones that arent too big, this
  58. procedure could be greatly optimized to run very quickly, and even quicker is
  59. you use a bank and the MULTI PLOT in the Falcon extension.
  60.  
  61. Andrew "Mushroom" Kellett
  62. --
  63.  Email: Andy Kellett <mushypd@redrose.net>  Team *AMOS* + IAPA Team *AMIGA*
  64.   alt.religion.amos - AMOS now on usenet! AMOS Mailinglist also mirrored
  65.  
  66.      World's Largest AMOS Homepages - http://www.mushy-pd.demon.co.uk
  67.  
  68.          Massive FTP site with AMOS/C64 and Mods/Samples + more at
  69.                             mushy-pd.dyn.ml.org
  70.